package logic

import "git.xiaotuo.co/micro/oss/config"

type Option func(o *Options)

type Options struct {
	config *config.Config
}

func WithConfig(config *config.Config) Option {
	return func(o *Options) {
		o.config = config
	}
}
